package {{.tf.Package}};
{{""}}
{{- $tfModel := ""}}
{{- range .tplFiles}}
{{- if eq .Type "Model"}}{{$tfModel = .}}{{- end}}
{{- end}}

{{- $model := toCamel .table.Name}}{{- /*Mode名字*/}}
{{- .ctx.Set "fileName" (printf "%s%s" $model .tf.Ext.action)}}{{- /*输出文件名字*/}}

import java.io.Serializable;
{{- range .table.Packages}}
import {{.}};
{{- end}}
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * {{$model}}{{.tf.Ext.action}}对象
 *
 * @author {{.tpl.Author}}
 * @since {{.datetime}}
 */
@Data
@ApiModel(value = "{{$model}}{{.tf.Ext.action}}对象", description = "{{$model}}{{.tf.Ext.action}}对象")
public class {{$model}}{{.tf.Ext.action}} implements Serializable {

    private static final long serialVersionUID = 1L;
{{""}}
{{- range .table.Columns}}
	@ApiModelProperty(value = "{{.Comment}}", position = 1)
	private {{.LangDataType}} {{toCamelLower .Name}};
{{end}}
}
